extends HBoxContainer
var playerLife
func _ready():
	playerLife = get_tree().current_scene.get_node("playerLife")
	connect_all()
	pass 

func connect_all():
	$hp50.connect("pressed",playerLife,"_add",[50])
	$hp150.connect("pressed",playerLife,"_add",[150])
	$hp200.connect("pressed",playerLife,"_add",[200])
	$hp300.connect("pressed",playerLife,"_add",[300])
	pass
